import { createStore } from "vuex";
import {
  loginByCode
} from "@/api/index.js";
import { transTimeStr } from "@/utils/index.js";

export default createStore({
  state: {
    openid: "",
  },
  mutations: {
    changeState(state, [key, val]) {
      state[key] = val;
    },
  },
  getters: {
  },
  actions: {
  },
});
